package com.atguigu.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/*
* 读取外部的配置文件信息
*
* */
@Component
@ConfigurationProperties(prefix = "order")
@Data
public class OrderProperties {

    private String timeout;

    private String autoConfirm;
}
